(function(){"use strict";BX.namespace("BX.Landing");BX.Landing.Group=function(n){this.id=n.id;this.name=typeof n.name==="string"?n.name:null;this.nodes=n.nodes;this.callback=typeof n.onClick==="function"?n.onClick:function(){};var i=this.onClick.bind(this);this.nodes.forEach(function(n){n.node.addEventListener("click",i)})};BX.Landing.Group.prototype={onClick:function(n){if(!BX.Landing.UI.Panel.StylePanel.getInstance().isShown()){n.preventDefault();n.stopPropagation();n.stopImmediatePropagation();this.callback(this);return false}}}})();
//# sourceMappingURL=group.map.js